package us.kg.kotoriforest.mybatis.mapper;

import us.kg.kotoriforest.mybatis.pojo.Department;

import java.util.List;

/**
 * 操作{@link Department}
 *
 * @author Kotori rotroutine@163.com
 * @since 2025/1/12
 */
public interface DepartmentMapper {
    // 获取全部的部门信息
    List<Department> getAllDepartments();

    // 根据部门id查询部门信息
    Department getDepartmentByDid(int did);

    Department getDepartmentByDidStepByStep(int did);
}
